home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / Access-Control / HD95PROT.ZIP / WINATTR.BAT < prev   
DOS Batch File  |  1997-11-15  |  657b  |  26 lines

  1. @echo off
  2.  
  3. rem Mit dieser Batch-Datei können Sie die Dateiattribute für die Dateien im
  4. rem Windows-Verzeichnis setzen, wenn Sie die Standardinstallation von
  5. rem HD95Protect verwenden.
  6. rem Passen Sie ggf. das Verzeichnis C:\WINDOWS an.
  7.  
  8. rem Bei Bedarf können Sie natürlich weitere Dateien und/oder Verzeichnisse
  9. rem hinzufügen.
  10.  
  11. if (%1)==() goto FEHLER
  12. if (%1)==(+) goto PLUS
  13. if (%1)==(-) goto MINUS
  14. :PLUS
  15. attrib +r c:\windows\*.* /S
  16. attrib -r c:\*.swp /S
  17. attrib -r c:\windows\*.pwl
  18. attrib -r c:\windows\profiles\*.* /S
  19. goto ENDE
  20. :MINUS
  21. attrib -r c:\windows\*.* /S
  22. goto ENDE
  23. :FEHLER
  24. echo Aufruf:   winattr -   oder   winattr +
  25. :ENDE
  26.